package com.sh.dc.common.pojo.bo;

import jakarta.validation.constraints.NotNull;
import lombok.Data;
import java.util.List;

@Data
public class SolverSaveBO {

    private Long id;

    @NotNull(message = "求解器中文名称不能为空")
    private String name;

    @NotNull(message = "求解器英文名称不能为空")
    private String nameEn;

    private String description;

    @NotNull(message = "制品源不能为空")
    private Long productSourceId;

    @NotNull(message = "制品源不能为空")
    private String productSourceName;

    @NotNull(message = "制品名称不能为空")
    private String product;

    @NotNull(message = "启动命令不能为空")
    private String cmd;

    private List<SolverFileParam> fileParams;

    private List<SolverCmdParam> cmdParams;

    private Integer cpuLimit;

    private Integer memoryLimit;

    private List<EnvBO> envList;

}
